#include <stdio.h>
#include <string.h>

int main() {
    char *str1 = "abcdefg";
    char *str2 = "abc";
    printf("\"%s\" compares with \"%s\": %d\n", str1, str1, strcmp(str1, str1));
    printf("\"%s\" compares with \"%s\": %d\n", str1, str2, strcmp(str1, str2));
    printf("\"%s\" compares with \"%s\": %d\n", str2, str1, strcmp(str2, str1));

    return 0;
}
